package me.firstapp.service.weixin.product;

import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.product.Supplier;

public interface SupplierService {

	Supplier executeAdd(String sysName, String name, String contacts, String shopUrl, String idCard, String qq, String ww,
			String weixin, String telPhone, String mobile, String email, String address, String remark);

	Supplier executeUpdate(Long id, String sysName, String name, String contacts, String shopUrl, String idCard, String qq, String ww,
			String weixin, String telPhone, String mobile, String email, String address, String remark);

	Page<Supplier> findSupplierPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Long id);

	Supplier findById(Long id);

}
